import Konva from "konva";
import { Draw } from "../../../Draw/Draw";
import { IKonva } from "../../../Interface/IKonva";

export function animationLabelClick(e: IKonva.Event, draw: Draw) {
  e.cancelBubble = true;
  // 打开动画面板属性，定位动画项
  const tag = <Konva.Label>e.currentTarget;
  const order = tag.findOne("Text")?.attrs.text;
  console.log(order, draw);
}
